home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetobjectinfo.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  811b  |  35 lines

  1. /*
  2.  *--- PGetObjectInfo.cpp --------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetObjectInfo.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetObjectInfo.h"
  12. #include "PReplyBuf.h"
  13.  
  14. PGetObjectInfo::PGetObjectInfo(ePMQuery op)
  15. : PListQuery(op)
  16. {
  17.     Scan();
  18. }
  19.  
  20. void PGetObjectInfo::Scan()
  21. {
  22.     PReplyBuf reply(listMom.Current());
  23.     
  24.     reply     >>    nDrawingNumber
  25.             >>    cTypeOfObject
  26.             >>    xLeftOrStart
  27.             >>    yTopOrStart
  28.             >>    xRightOrEnd
  29.             >>    yBottomOrEnd;
  30.  
  31.     listMom.Update(reply);
  32. }
  33.  
  34. // end of PGetObjectInfo.cpp
  35.